package top.choviwu.consumer.user;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;
import top.choviwu.api.UserService;

@Component
@Service(version = "1.0.0",interfaceClass = UserService.class)
public class UserServiceImpl implements UserService {


    private String version;


    public Object getUserById(Integer id) {
        System.out.println(version);
        return id;
    }
}
